Open topic with navigation
Trading System Programming Overview
ActiveTick trading systems comprise from callback functions, built-in functions, and various classes, all tied together with JavaScript.
- A callback function is a function which is overridden by the trading system and provides its own custom implementation to handle received callbacks from ActiveTick.
- A regular function is a function which is predefined by ActiveTick's programming model, and is used to interact with ActiveTick's internal code.
- A class is a collection of methods and properties grouped together into a logical unit. ActiveTick provides several classes for use in trading systems.
Typically, a trading goes through the following interaction:
- Trading system is selected from trading systems configuration view.
- Trading system is initialized with various options and settings by implementing the init() callback function.
- ActiveTick displays systems's parameters added through the addParameter() function, and gives the user an option to modify any of them.
- The trading system gets updated periodically with new data, and start() callback function is called to calculate the system to process those updates.
The following topics provide more information about trading system programming.
Copyright © 2006-2009 ActiveTick LLC